/**
 * 
 */
package com.sesame.dao;

import java.util.List;

import com.sesame.domain.Message;

/**
 * @author shubeta
 *
 */
public interface MessageDAO {
    public List<Message> getAllMessage();

    public Message getMessageBySender(String sender);

    public void addMessage(Message message);

    public void deleteMessageById(Integer id);
    
    public void deleteMessageByState(char state);

    public void updateMessage(Message message);
}
